package com.qingfeng.client.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qingfeng.client.bean.SellerBill;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/1/6 10:16 上午
 */
public interface SellerBillMapper extends BaseMapper<SellerBill> {
    Integer totalMoney(@Param("storeId") Long storeId);

    Integer getTotalIncom(@Param("storeId") Long storeId, @Param("startTime") Long startTime);

    Integer getWithDrawCashMoney(@Param("storeId") Long storeId);

    List<HashMap<String,Object>> getBillByDay(@Param("storeId") Long storeId, @Param("time") Long time);

    List<HashMap<String,Object>> getWithDrawList(@Param("storeId") Long storeId);
}
